package com.lynx.system.repository;

import com.lynx.system.beans.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserRepository {
    List<User> selectAll(int index,int limit);
    int selectCount();
    User selectById(long id);
    int insertUser(User user);
    int updateUser(User user);
    int deleteById(long id);
}
